<h1><?php echo $this->pageTitle = __('Edit/Add Location', true); ?></h1>
<div class="locations form">
<?php echo $form->create('Location');?>
	<fieldset>
	<?php
		echo $form->input('id');
		echo $form->input('title', array('label'=>__('Title', true).':', 'error' => __('Title is required.', true)));
		echo $form->input('width', array('label'=>__('Width:', true).':', 'error' => __('Width has to be numeric.', true)));
		echo $form->input('height', array('label'=>__('Height:', true).':', 'error' => __('Height has to be numeric.', true)));
		
		echo $form->input('accept_image', array('label'=>__('Accept images (gif, jpg, png)', true)));
		echo $form->input('accept_flash', array('label'=>__('Accept flash (swf)', true)));
		echo $form->input('accept_html', array('label'=>__('Accept HTML', true)));
		echo $form->input('accept_plain', array('label'=>__('Accept plain text', true)));
	?>
	</fieldset>
	<?php echo $form->end('OK');?>
</div>